  <table  class="display table table-bordered table-striped table-span" id="collisionList-table">
                        <thead>
	                          <tr>
	                            <th>编号</th>
	                            <th>编制人</th>
	                            <th>主题</th>
	                            <th>专业</th>
	                            <th>楼栋号</th>
	                            <th style="width: 12em">问题描述</th>
	                            <th>修改时间</th>
	                            <th>状态</th>
	                            <th>操作</th>
	                          </tr>
                        </thead>
                        <tbody>
                          <if condition="$organ neq ''"> 	 
	                          <tr>
		                          <th><span>0</span></th>
		                          <th><span>编制说明</span></th>
		                          <th><span>无</span></th>
		                          <th><span>无</span></th>
		                          <th><span>无</span></th>
		                          <th><span>无</span></th>
		                          <th><span>无</span></th>
		                          <th><span>无</span></th>
		                          <th>
		                          <span class="btn btn-submit btn-xs" style="cursor:pointer;"><a href="{:U('Bim/organdetail',array('id'=>$organ['id']))}"><i class="icon-search"></i>查看</a></span>
		                           <if condition="$pdata eq 2">
		                          <span class="btn btn-success btn-xs" style="cursor:pointer;"><a href="{:U('Bim/explain',array('id'=>$organ['id'],'act'=>'edit'))}"><i class="icon-edit"></i>编辑</a></span>
		                           </if>
		                          </th>
	                          </tr>
                          </if>
                          <foreach name="data" item="v" key="k">
                            <tr>
                                <th><span>{$v.id}</span></th>
                                <th><span>{$admin[$v['uid']]}</span></th>
                                <th><span>{$theme[$v['themeid']]}</span></th>
                                <th><span>{$major[$v['major']]}</span></th>
                                <th><span>{$v.ban}</span></th>
                                <th><span class="textOverflow10">{$v.problem|json_decode}</span></th>

                                <th><span>{$v.update_time|date='Y-m-d H:i',###}</span></th>

                                <if condition="$v['status'] eq 1 || $v['status'] eq 2">
                                    <th><span style="color:red";>{$status[$v['status']]}</span></th>
                                <else/>
                                    <th><span>{$status[$v['status']]}</span></th>
                                </if>

                                <th>                              
                                  <if condition="$v['status'] eq 1 && $v['uid'] eq $uid">
                                      <span class="btn btn-success btn-xs" style="cursor:pointer;"><a href="{:U('Bim/collision',array('id'=>$v['id'],'status'=>$v['status']))}"><i class="icon-edit"></i>编制</a></span>
                                      <span class="btn btn-danger btn-xs" style="cursor:pointer;" onclick="del({$v.id})"><i class="icon-trash"></i>删除</span>
                                  </if>
                                  <if condition="$v['status'] eq 7 && $v['uid'] eq $uid">
                                      <span class="btn btn-success btn-xs" style="cursor:pointer;"><a href="{:U('Bim/collision',array('id'=>$v['id'],'status'=>$v['status']))}"><i class="icon-edit"></i>编辑</a></span>
                                  	  <span class="btn btn-danger btn-xs" style="cursor:pointer;" onclick="del({$v.id})"><i class="icon-trash"></i>删除</span>
                                  </if>
                                  <span class="btn btn-submit btn-xs" style="cursor:pointer;"><a href="{:U('Bim/collisionDetail',array('id'=>$v['id']))}"><i class="icon-search"></i>查看</a></span>
                                  <if condition="$v['status'] eq 2 || $v['status'] eq 6">
                                   <if condition="$v['uid'] eq $uid">
                                  <span class="btn btn-warning btn-xs" style="cursor:pointer;"><a href="{:U('Bim/collision',array('id'=>$v['id'],'status'=>$v['status']))}"><i class="icon-reply-all"></i>重新编制(被驳回)</a></span>
                                  </if>
                                  </if>
                                  	<!--     主要针对编制报告相关任务的判断 -->
                          <!--          <if condition="$v['status'] eq 3">
                                  	      <if condition="$v['nail'] eq $uid">
                                  	   		  <span class="btn btn-success btn-xs" style="cursor:pointer;"><a href="/Bim/nail?id={$v.id}"><i class="icon-edit"></i>审核</a></span>
                                		  </if>
                                    </if>
                                     <if condition="$v['status'] eq 3 || $v['status'] eq 4">
                                		  <if condition="$pcopy eq 2">
	                                   	     <span class="btn btn-success btn-xs" style="cursor:pointer;"><a href="/Bim/design?id={$v.id}"><i class="icon-edit"></i>抄送</a></span>
	                                      </if>
                                     </if>
                                   <if condition="$v['status'] eq 5">
                                  	      <if condition="$within eq 2">
                                  	   		  <span class="btn btn-success btn-xs" style="cursor:pointer;"><a href="/Bim/within?id={$v.id}"><i class="icon-edit"></i>审核</a></span>
                                		  </if>
                                   </if> -->
                                </th>
                            </tr>
                          </foreach>
                        </tbody>
                        </table>
                        
     <script type="text/javascript" language="javascript" src="__PUBLIC__/assets/advanced-datatable/media/js/jquery.dataTables.js"></script>
      <script type="text/javascript" src="__PUBLIC__/assets/data-tables/DT_bootstrap.js"></script>
      <script src="__PUBLIC__/js/dynamic_table_init.js"></script>